<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{label $webName}</title>
	<meta name="keywords" content="{label $KEYWORDS}"/>
	<meta name="description" content="{label $DISCRIPTION}"/>
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/common.css" />
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/list.css" />
</head>
<body>
<!-- top -->
{label include file="../index/header.html"}
<!-- top 结束-->

	<div id='location'>
		<a href="{label $smarty.const.__APP__}?c=list&cid=0">全部分类</a>
			{label section loop=$fatherData name=n}
				&gt;&nbsp;
					{label if $smarty.section.n.last}
						{label $fatherData[n].title}
					{label else}
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $fatherData[n].cid}">{label $fatherData[n].title}</a>
					{label /if}
				&nbsp;&nbsp;
			{label /section}
	</div>

<!--------------------中部-------------------->
	<div id='center'>
		<div id='left'>
			<div id='cate-list'>
				<p class='title'>按分类查找</p>
				<ul>
					{label foreach from= $sonData item=v}
					<li>
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $v.cid}">{label $v.title}</a>
					</li>
					{label /foreach}
				</ul>
			</div>
			<div id='answer-list'>
				<ul class='ans-sel'>
					<li {label if $smarty.get.tab == 1 } class='on' {label /if} >
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $smarty.get.cid}&tab=1">待解决问题</a>
					</li>
					<li {label if $smarty.get.tab == 2 } class='on' {label /if}>
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $smarty.get.cid}&tab=2">已解决</a>
					</li>
					<li {label if $smarty.get.tab == 3 } class='on' {label /if} >
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $smarty.get.cid}&tab=3">高悬赏</a>
					</li>
					<li {label if $smarty.get.tab == 4 } class='on' {label /if}>
						<a href="{label $smarty.const.__APP__}?c=list&cid={label $smarty.get.cid}&tab=4">零回答</a>
					</li>
				</ul>
				<!-- 待解决问题 -->
				<table>
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th>时间</th>
					</tr>
					{label foreach from= $askData item = v}
						<tr>
							<td class='t1 cons'>
								<a href="{label $smarty.const.__APP__}?c=show&cid={label $v.cid}&asid={label $v.asid}">
									<b>{label $v.reward}</b>{label $v.content}</a>&nbsp;&nbsp;[{label $v.title}]
							</td>
							<td>{label $v.answer}</td>
							<td>{label $v.time|date_format:"%Y/%m/%e %H:%M:%S"}</td>
						</tr>
					{label /foreach}
						

					<tr class='page'>
						<td colspan='3'>
							<a href="">1</a>
							<a href="">2</a>
							<a href="">3</a>
						</td>
					</tr>
				</table>

			</div>
		</div>

		<!-- 右侧 -->
	{label include file='../index/rightbar.html}
<!-- ---右侧结束---- -->
	</div>
<!--------------------中部结束-------------------->

<!-- 底部 -->
	{label include file='../index/footer.html}
</body>
</html>
<!-- 底部结束 -->